package com.yc.mybatis.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;
import java.util.List;


@Data
@AllArgsConstructor
@NoArgsConstructor
public class Bill {
    private Integer id;
    private String type;
    private String custom;
    private Integer sums;
    private Timestamp time;
    private Integer uid;

    //对象
    private User user;
    //订单明细
    private List<BillItem> items;
}
